//
// Created by pzw on 24-3-12.
//

#ifndef QTTEST_STACK_H
#define QTTEST_STACK_H

#include <stack>
#include <iostream>

template<typename E>
class Stack {
private:
    std::stack<E> *stack;

public:
    explicit Stack(std::stack<E> *stk);
    ~Stack();
public:
    bool empty();
    E peek();
    E pop();
    E push(E item);
    int search(E o);
};

int Stack_main();

#endif //QTTEST_STACK_H
